package com.nian.trancation.tc.b.api;

import com.nian.trancation.tc.b.model.TableTestB;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 用途：
 * 开发：zhangmj
 * 日期：2020/4/15 0015 12:51
 */
@FeignClient(value = "nian-transcation-tx-lcn-tc-b", path = "/lcn/b")
public interface TableTestBAPI {

    @PostMapping("save")
    TableTestB save(@RequestBody TableTestB model);

    @PostMapping("delete")
    void delete(@RequestBody TableTestB model);
}
